package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 用户详情DTO
 *
 * @author xieyanfei
 * @Date 2025-09-06 19:23:56
 */
@Data
@TableName("product_info")
@ApiModel(value="用户详情对象", description="用户详情对象")
public class ProductInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "版本号(用于乐观锁)")
    private Integer revision;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;
    @ApiModelProperty(value = "分类ID")
    private Long categoryId;
    @ApiModelProperty(value = "状态(0:禁用,1:启用)")
    private Integer status;
    @ApiModelProperty(value = "库存数量")
    private Long stock;
}